/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Floors;

import Actors.Actor;
import java.awt.Image;
import java.awt.image.BufferedImage;

/**
 *
 * @author Snowangelic
 */
public abstract class Floor {
    protected BufferedImage floorImage;
    protected Model.Case myCase;
    protected double friction;
    protected double xDeviation;
    protected double yDeviation;

    Floor(){
        friction=1.015;
        xDeviation=0;
        yDeviation=0;
    }

    public double[] getImpulse(Actor actor) {
        return null;
    }

    public double getXDeviation(){
        return xDeviation;
    }
    public double getYDeviation(){
        return yDeviation;
    }
    public double getFriction(){
        return friction;
    }
    public BufferedImage getImage(){
        return floorImage;
    }
    public void setCase(Model.Case myCase){
        this.myCase=myCase;
    }
    public void changed(){
        myCase.setFloorChanged(true);
    }

    public void update(long dtime){};
}
